package com.wanxi.web.service.user;

import com.wanxi.login.domain.dto.LoginDefaultDto;
import com.wanxi.user.domain.dto.UserInfoDto;
import com.wanxi.user.domain.entity.UserInfo;
import com.wanxi.user.domain.query.UserQuery;
import com.wanxi.user.domain.result.UserResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * ClassName: UserWebService
 * Description:
 * date: 2022/1/13 11:07
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */
public interface UserWebService {


    /**
     * 后台查询用户信息
     * */
    UserResult<List<UserInfo>> findAll(UserQuery userQuery);

    /**
     * 后台查询修改用户状态
     * */
    UserResult<String> updateDefaultId(LoginDefaultDto loginDefaultDto);

}
